<%@ page language="java" contentType="text/html; charset=UTF-8"
    pageEncoding="UTF-8"%>
<%@ taglib uri="http://java.sun.com/jsp/jstl/core" prefix="c" %>
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<title>小区列表</title>
<style type="text/css">
	dt,dd{
		float:left;
	}
	dl,dd{
		margin-left: 10px;
	}
	dd{
		width: 300px;
		line-height: 40px;
		height: 40px;
	}
	dl{
		width: 650px;
	}
</style>
</head>
<body>
	<div style="width: 1100px;height: 500px;background-color: #FFF;margin: 20px;color:#000;">
		<h4 style="background-color: #9FB2C2;padding-left: 10px;color: #516D8A;line-height: 40px;"><img alt="" src="${initParam.url}/statics/images/title.jpg"> 小区详细信息</h4>
		<div>
			<dl>
				<dt style="padding: 3px;background-color: #C2C2C2"><img alt="" src="${initParam.url }/${management.community.communityImg}" width="240px" height="220px" /></dt>
				<dd><h3>${management.community.communityName }</h3></dd>
				<dd style=" padding-left:10px;margin-top: 10px; ">
					小区地址：
					<c:forEach var="dist" items="${distList }">
							<c:if test="${dist.id== management.community.provCityDistId}">
								<c:forEach var="city" items="${cityList }">
									<c:if test="${city.id==dist.city_id}">
										<c:forEach var="prov" items="${provList }">
											<c:if test="${prov.id==city.province_id}">
												${prov.province}
											</c:if>
										</c:forEach>
										${city.city }
									</c:if>
								</c:forEach>
								${dist.district }
							</c:if>
						</c:forEach>
					${management.community.communityName }
				</dd>
				<dd style=" padding-left:10px; ">保安处电话：${management.phone }</dd>
				<dd style=" padding-left:10px; ">物管电话：${management.community.securityPhone }</dd>
			</dl>
		</div>
		<div class="clear"></div>
		<a class="btn" href="javascript:history.back();">返回</a>
	</div>
</body>
</html>